Possible file version mismatch detected between ADO.NET Provider and native binaries of SQL Server Compact

A possible file version mismatch detected between ADO.NET Provider and native binaries of SQL Server Compact could result in incorrect functionality. This could occur due to the presence of multiple instances of SQL Server Compact of different versions or due to wrong binaries with the same name as SQL Server Compact binaries. Please install SQL Server Compact binaries of the matching version.

You have built and published to a 32-bit site from a 64-bit machine and x86 binaries for SqlServerCompact are missing.

We think this can be handled by setting CopyAlways instead of CopyWhenNewer on SqlCompact dlls in modern distributions.

This page was edited more than 6 months ago on 06/17/2024. What links here